﻿#if NETSTANDARD2_0 || NETCOREAPP3_0
using Microsoft.Extensions.Logging.Configuration;
using Microsoft.Extensions.Options;

namespace Longbow.Logging
{
    /// <summary>
    /// 日志配置辅助类
    /// </summary>
    /// <typeparam name="TOptions"></typeparam>
    /// <typeparam name="TProvider"></typeparam>
    public class LoggerProviderConfigureOptions<TOptions, TProvider> : ConfigureFromConfigurationOptions<TOptions> where TOptions : class
    {
        /// <summary>
        /// 默认构造函数
        /// </summary>
        /// <param name="providerConfiguration"></param>
        public LoggerProviderConfigureOptions(ILoggerProviderConfiguration<TProvider> providerConfiguration)
            : base(providerConfiguration.Configuration)
        {

        }
    }
}
#endif
